export default defineAppConfig({
  pages: [
    'pages/login/index',
    'pages/index/index',
    'pages/publish/index',
    'pages/profile/index',
    'pages/detail/index',
    'pages/register/index'
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: '我的博客',
    navigationBarTextStyle: 'black'
  },
  tabBar: {
    color: '#999',
    selectedColor: '#1890ff',
    backgroundColor: '#fff',
    list: [
      {
        pagePath: 'pages/index/index',
        text: '首页',
        iconPath: 'https://img01.yzcdn.cn/vant/icon-home-o.png',
        selectedIconPath: 'https://img01.yzcdn.cn/vant/icon-home.png'
      },
      {
        pagePath: 'pages/publish/index',
        text: '发布',
        iconPath: 'https://img01.yzcdn.cn/vant/icon-plus.png',
        selectedIconPath: 'https://img01.yzcdn.cn/vant/icon-plus-square.png'
      },
      {
        pagePath: 'pages/profile/index',
        text: '我的',
        iconPath: 'https://img01.yzcdn.cn/vant/icon-user-o.png',
        selectedIconPath: 'https://img01.yzcdn.cn/vant/icon-user.png'
      }
    ]
  }
})
